/**
 *
 * @author lty
 */
abstract class PromotionDecorator extends Product {
    protected Product product;

    public PromotionDecorator(Product product) {
        super(product.getDescription(), product.getPrice());
        this.product = product;
    }

    /**
     * 计算折扣后的价格
     * @return
     */
    public abstract double getDiscountedPrice();
}
